<?php

namespace app\api\model;

use think\Model;

class ImageCategory extends Model
{

    protected $pk = 'category_id';

    public static function getInfoById($categoryId)
    {
        return self::where(['category_id' => $categoryId])->find();
    }
}